package com.alfayun.fiscalriskanalysis.another.indicator;

import java.math.BigDecimal;

import com.alfayun.fiscalriskanalysis.another.specification.indicator.MeasureSpec;

public abstract class Measure {

	private final MeasureSpec spec;
	private final String id;
	private final String code;
	private final String name;

	public Measure(MeasureSpec spec) {
		this.spec = spec;
		this.id = spec.id;
		this.code = spec.code;
		this.name = spec.name;
	}

	public final MeasureSpec getSpec() {
		return spec;
	}

	public final String getId() {
		return id;
	}

	public final String getCode() {
		return code;
	}

	public final String getName() {
		return name;
	}

	public abstract BigDecimal getValue();

}
